/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package group6renderer.renderernode;

import group6renderer.Display;
import group6renderer.Visitor;

/**
 *
 * @author jonnie
 */
public class BoldNode extends FormatNode {
    
	public BoldNode()
	{
		name = "b";	
	}

    @Override
    public void drawNode(Display disp)
    {
    	disp.getState().toggleState(this.getName());
    }

    @Override
    public boolean hasClosing()
    {
	return true;
    }
 
    @Override
    public TreeNode copy()
    {
	return new BoldNode();
    }

//	@Override

    

}
